import VueRouter from 'vue-router'

const routes = []

const router = new VueRouter({
    mode: 'history',
    // 通过环境变量来配置路由的 base url
    base: process.env.VUE_APP_BASE_URL,
    routes
})

export default router